package com.bootdo.hotel.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 每日房态
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-10-18 14:36:55
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class HotelRoomDayStatus extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//房间ID
		@HapiFeild("房间ID")
	private Long roomId;
	
	//日期
		@HapiFeild("日期")
	private Date day;
	
	//状态 case 1:
	//					item.setStatusDep("净房");
	//					break;
	//				case 2:
	//					item.setStatusDep("脏房");
	//					break;
	//				case 3:
	//					item.setStatusDep("在住");
	//					break;
	//				case 4:
	//					item.setStatusDep("维修");
	//				case 5:
	//				预订
		@HapiFeild("状态")
	private Integer status;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

	private Long hotelId;

	private Long roomTypeId;

    public HotelRoomDayStatus(){
    
    	this.createTime = new Date();
    }

	public Long getRoomTypeId() {
		return roomTypeId;
	}

	public void setRoomTypeId(Long roomTypeId) {
		this.roomTypeId = roomTypeId;
	}

	public Long getHotelId() {
		return hotelId;
	}

	public void setHotelId(Long hotelId) {
		this.hotelId = hotelId;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：房间ID
	 */
	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}
	/**
	 * 获取：房间ID
	 */
	public Long getRoomId() {
		return roomId;
	}
	/**
	 * 设置：日期
	 */
	public void setDay(Date day) {
		this.day = day;
	}
	/**
	 * 获取：日期
	 */
	public Date getDay() {
		return day;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
